package com.woniu.mapper;

import com.woniu.pojo.Receiver;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xie
 * @since 2022-10-12
 */
public interface ReceiverMapper extends BaseMapper<Receiver> {

    /**
     *
     * @param memberId
     * @return
     */
    @Select("select * from k_receiver where member_id = #{memberId}")
    @ResultType(ArrayList.class)
    List<Receiver> selectMemberId(String memberId);
}
